#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
	int n;
	cin>>n;
	int numm = 0,numc = 0;
	for(int i = 0;i<n;i++)
	{
		int a,b;
		cin>>a>>b;
		if(a>b) numm++;
		else if(a<b) numc++;
	}
	if(numm>numc) puts("Mishka");
	else if(numm==numc) puts("Friendship is magic!^^");
	else puts("Chris");
}
